//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using System;

namespace CommunityServer.Components {

	/// <summary>
	/// The StyleRelativePosition enumeration is used when rendering  the CS:Head control.  
	/// Render First items are rendered in the order they were programmatically added,
	/// then Unspecified, and finally Last items.
	/// </summary>
	public enum StyleRelativePosition {

		/// <summary>
		/// rendered before unspecified and last items
		/// </summary>
		First = 1,

		/// <summary>
		/// rendered after first and unspecified items
		/// </summary>
		Last = 2,

		/// <summary>
		/// The default render location..  renderes between first and last items
		/// </summary>
		Unspecified = 3


	}

	public class StyleQueueItem
	{
		public StyleRelativePosition Position;
		public string StyleTag;
		
		public StyleQueueItem(string styleTag, StyleRelativePosition position)
		{
			StyleTag = styleTag;
			Position = position;
		}
	}
}
